/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hantang.web.json.handlers;
  
 
@SuppressWarnings("unchecked")
public interface HttpHandlerConstants {
//////////////////////////////////////////////////////////////////////////////////////////
    //start of basic info image queries.
	
	public final Class  HANDLER_API_UNKOWN = UnkownUrlHandler.class;
	public final String			API_UNKOWN ="/hantangapi/api/v1/unkown";
//	
    public final Class HANDLER_API_GET_NEWS = GetNewsHandler.class;
    public final String        API_GET_NEWS = "/hantangapi/v1/getnews";
    
    public final Class HANDLER_API_ADD_NEWS = AddNewsHandler.class;
    public final String        API_ADD_NEWS = "/hantangapi/v1/addnews";
    
    public final Class HANDLER_API_DELETE_NEWS = DeleteNews.class;
    public final String        API_DELETE_NEWS = "/hantangapi/v1/deletenews";
    
    
    public final Class HANDLER_API_LOGIN = LoginHandler.class;
    public final String        API_LOGIN = "/hantangapi/v1/login"; 
    
    public final Class HANDLER_API_ADD_ARTICLE = AddArticleHandler.class;
    public final String        API_ADD_ARTICLE = "/hantangapi/v1/addarticle"; 
    
    public final Class HANDLER_API_DELETE_ARTICLE = DeleteArticleHandler.class;
    public final String        API_DELETE_ARTICLE = "/hantangapi/v1/deletearticle"; 
    
    public final Class HANDLER_API_EDIT_ARTICLE = EditArticleHandler.class;
    public final String        API_EDIT_ARTICLE = "/hantangapi/v1/editarticle"; 
    
    public final Class HANDLER_API_PUB_ARTICLE = PubArticleHandler.class;
    public final String        API_PUB_ARTICLE = "/hantangapi/v1/pubarticle";   
    
    public final Class HANDLER_API_QUERY_ARTICLES = QueryArticlesHandler.class;
    public final String        API_QUERY_ARTICLES = "/hantangapi/v1/queryarticles"; 
    
    public final Class HANDLER_API_QUERY_ARTICLES_USER = QueryUserArticlesHandler.class;
    public final String        API_QUERY_ARTICLES_USER = "/hantangapi/v1/queryuserarticles"; 
    
    public final Class HANDLER_API_QUERY_ARTICLES_USER_PUB = QueryUserPubArticlesHandler.class;
    public final String        API_QUERY_ARTICLES_USER_PUB = "/hantangapi/v1/queryuserpubarticles"; 
    
    /////////////////////////////////////////
    
    
    
//    public final Class HANDLER_API_LOGIN = LoginHandler.class;
//    public final String        API_LOGIN = "/hantangapi/v1/login"; 
    
    public static final int DEFAULT_LIMIT = 1000; //should be gotten from config.
    
    public final int CODE_SUCC = 0; 
    
    public static final int RULE_DEC_TYPE = 1;
    public static final int RULE_INC_TYPE = 0;
    public static final int RULE_STYLE_COUNT = 0;
    public static final int RULE_STYLE_PERCENT = 1;
    
    public static final String PARAM_USER_NAME = "username";
    public static final String PARAM_MAIL = "mail";
    public static final String PARAM_PASSWORD = "password";
    
	public static final String PARA_RETURN_TYPE ="returnType";
    public static final String VALUE_RETURN_TYPE ="jsonp";
    public static final String PARA_CALL_BACK = "callback";
    
}
